export const menus = [{
    path: '/webCam',
    name: 'webCam',
    component: '/src/layout/index.vue',
    redirect: '/webCam/view',
    meta: {
      showLink: true,
      title: '监控',
      icon: 'videoCamera',
      authority: ['admin', 'role-0']
    },
    children: [
      {
        path: '/webCam/view',
        name: 'webCamView',
        component: '/src/views/webCam/View.vue',
        meta: {
          title: '网络摄像机',
          authority: ['admin', 'role-0']
        }
      }
    ]
  },
  {
    path: '/webCamM',
    name: 'webCamM',
    component: '/src/layout/index.vue',
    redirect: '/webCamM/manager',
    meta: {
      showLink: true,
      title: '摄像机管理',
      icon: 'Operation',
      authority: ['admin', 'role-0']
    },
    children: [
      {
        path: '/webCamM/manager',
        name: 'webCamMManager',
        component: '/src/views/webCam/Manager.vue',
        meta: {
          authority: ['admin', 'role-0']
        }
      }
    ]
  },
  {
    path: '/permission',
    name: 'permission',
    component: '/src/layout/index.vue',
    redirect: '/permission/users',
    meta: {
      icon: 'Key',
      title: '权限管理',
      showLink: true
    },
    children: [
      {
        path: '/permission/roles',
        name: 'permissionRoles',
        component: '/src/views/permission/Roles.vue',
        meta: {
          icon: 'Stamp',
          title: '角色管理',
          showLink: true
        }
      },
      {
        path: '/permission/menus',
        name: 'permissionMenus',
        component: '/src/views/permission/Menus.vue',
        meta: {
          icon: 'Menu',
          title: '菜单管理',
          showLink: true
        }
      },
      {
        path: '/permission/users',
        name: 'permissionUsers',
        component: '/src/views/permission/Users.vue',
        meta: {
          icon: 'User',
          title: '账号管理',
          showLink: true
        }
      }
    ]
  }
]
